<template>
  <div class="good-list">
    <detail-recommend-item
      v-for="(item, index) in good"
      :key="index"
      :goodItem="item"
    ></detail-recommend-item>
  </div>
</template>

<script>
import detailRecommendItem from "./detailRecommendItem.vue";
export default {
  components: {
    detailRecommendItem,
  },
  props: ["good"],
};
</script>

<style scoped>
.good-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: var(--color-background);
  padding: 2px;
}
</style>
